<?php

require dirname(__FILE__) . "/../classes/ConnectionFactory.class.php";
require dirname(__FILE__) . "/../classes/ClientsDAO.class.php";
require dirname(__FILE__) . "/../classes/ContactCli.class.php";

$clients = new ContactCli();

$conn=new ConnectionFactory();
$db=$conn->getConnection();
 $dao=new ClientsDAO($db);
$name=$_POST['NameSearch'];
$clients=$dao->getList($name);












?>
